package com.example.piece.ui.demo

import android.view.View
import androidx.databinding.ViewDataBinding
import com.therouter.router.Route
import com.example.piece.R
import com.example.piece.constant.RoutePath
import com.example.piece.databinding.TestActivityTextViewAutoPlayBinding
import com.example.piece.ui.activity.Layer3Activity

/**
 * 文字自动播放
 */
@Route(path = RoutePath.TESTActivity.TEXTVIEW_AUTO_PLAY_TEST_ACTIVITY)
class TextViewAutoPlayTestActivity :  Layer3Activity<TestActivityTextViewAutoPlayBinding, ViewDataBinding>() {

    override val isTransparentStatusBar: Boolean = false

    override val isDarkMode: Boolean = false
    override val centerLayoutRes: Int
        get() = R.layout.test_activity_text_view_auto_play
    override val title: String
        get() = "文字自动播放测试"
    override val leftIcon1Res: Int
        get() = R.drawable.ic_back

    override fun onClickLeftIcon1(view: View) {
        super.onClickLeftIcon1(view)
        onBackPressed()
    }


}